cmake_minimum_required(VERSION 2.8)
find_package(OpenCV REQUIRED)
add_library( features corners.cpp convexity.cpp complexity.cpp diffsegs.cpp endpoints.cpp ratio.cpp holes.cpp axismean.cpp density.cpp junctions.cpp skeleton.cpp variance.cpp connectedComponents.cpp diagConnections.cpp avgThickness.cpp holenoise.cpp isocontour.cpp thin.cpp thinFast.cpp gradOrient.cpp curvature.cpp height.cpp width.cpp)
target_link_libraries(features ${OpenCV_LIBS})

set(CMAKE_CXX_FLAGS "-O3 -Wall -Wextra -fopenmp")
#set(CMAKE_CXX_FLAGS "-g -pg -Wall -Wextra")
